import fly from '@/utils/request.js'

// 获取验证码
export const getCode = data => fly.get('/code', data)
// 验证码登录
export const codeLogin = data => fly.post('/login', data)
// 密码登录
export const passwordLogin = data => fly.post('/login/password', data)